package com.itheima.stock.mapper;

import com.itheima.stock.pojo.StockBusiness;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author byzhao
* @description 针对表【stock_business(主营业务表)】的数据库操作Mapper
* @createDate 2022-10-01 20:05:23
* @Entity com.itheima.stock.pojo.StockBusiness
*/
@Mapper
public interface StockBusinessMapper {

    /**
     *  查询所有股票主营业务信息
     * @return  List<StockBusiness>
     */
    List<StockBusiness> selectAll();

    /**
     * 获取所有股票的code
     * @return
     */
    List<String> getStockIds();
}




